package com.hualan.sfzy.entity.mindanswer;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hualan.sfzy.entity.system.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Problem {
   private Integer id;
   private Integer userId;
   private String problemName;
   private String content;
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
   private Date createTime;
   private Integer del;
   private User user;//提出问题人
   private List<Reply> replyList;
   private Integer replyCount;
   private Integer sortType;

}
